/*
 * @FileName: app_fsm.h
 * @Author: GreyQiu qiushaogui@aikosolar.com
 * @Date: 2023-08-09 14:34:35
 * @LastEditors: GreyQiu qiushaogui@aikosolar.com
 * @LastEditTime: 2023-08-09 15:03:14
 * @Description: 
 * 
 * Copyright (c) 2023, All Rights Reserved. 
 */

#ifndef __APP_FSM_H__
#define __APP_FSM_H__

#include <stdint.h>

/**
 * @description 状态名称定义
 */
typedef enum STATE_ENUM
{
    STATE_INIT = 0,
    STATE_READY,
    STATE_RAMPUP,
    STATE_NORMAL,
    STATE_SHUTDOWN,
    STATE_HICCUP,
    STATE_NUM
} state_t;

void app_fsm_init(void);
void app_fsm_run(void);
uint16_t fsm_get_status(void);

#endif // __APP_FSM_H__
